//
// Created by chen on 2023/6/24.
//
#pragma once
#include "iostream"
#include "fstream"
#include "vector"
#include "map"

using namespace std;

#define STUDENTFILE "studentFile.csv"
#define TEACHERFILE "teacherFile.csv"
#define MANAGERFILE "managerFile.csv"

#ifndef INC_0086ROOMRESERVATION_ACCOUNT_H
#define INC_0086ROOMRESERVATION_ACCOUNT_H

#endif //INC_0086ROOMRESERVATION_ACCOUNT_H

class Account{
public:
    map<string , map<string, string>> studentPasswd;   // 储存学生的学号、姓名、登录密码
    map<string , map<string, string>> teacherPasswd;   // 储存教师的工号、姓名、登录密码
    map<string, string> managerPasswd;             // 储存管理员姓名、登录密码

    Account();

    ~Account();

    void initStudentPasswd();

    void initTeacherPasswd();

    void initManagerPasswd();

};
